import { IsOptional, IsString } from 'class-validator';

export class CreatePageDto {
  @IsString()
  pageName: string;

  @IsString()
  path: string;

  @IsOptional()
  @IsString()
  isIframe?: string;
}
